package com.py.credit.service;

import java.util.List;
import java.util.Map;

import com.py.framework.core.common.Page;

public interface XylyjcService {
	List<Map<String,Object>> getWspDatas();

	List<Map<String,Object>> getPromiseBooksByConditionForPage(String type,String ztType,String bookStatus,String relationStatus ,
			Long deptId , List<String> showColumns, String[] additionalColumns, String condition, Page page,String sbtype,Long userId );
	
	int approvalPromiseBook(Long userId , String userName ,Long id , String bookStatus , String approvalOpinion , String tybm ,String relationStatus);
	
	List<String> selectTybm(String tableName,String fieldZtName,String ztName,String fieldTyshbm,String tyshxydm); 
	
	
	List<String> selectTybmByZt(String ztName,String tyshxydm ,String tableName , String field1 , String field2);
	
	void renewPromiseBooks(String tybm,Long id);
	
	String promiseBookPreview(Long id);
	
	Map<String,String> selectOne(Long id);
	
	List<Map<String, Object>> selectXycnForPage( String name,String startTime,String endTime, String type, Page page);
}
